#ifndef _RENDER_TEXTURE_HPP
#define _RENDER_TEXTURE_HPP

#include "PhoenixInitializer.hpp"

namespace phx
{

class RenderTexture
{
public:
	RenderTexture(unsigned int width, unsigned int height);
	static void use(RenderTexture &RenderTexture);
	static void use();
	void render();
	void clear();
	~RenderTexture();
public:
	GLuint mFrameBuffer, mTexColorBuffer, mRboDepthStencil;
};

}

#endif